home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Tele / C / Comet2.1.3 Folder / Comet / makefile2.1 < prev    next >
Encoding:
Text File  |  1991-10-22  |  4.3 KB  |  151 lines  |  [TEXT/????]

  1. #    Copyright Cornell University 1986.  All rights are reserved.
  2.  
  3. # 8/14/87 kevin changed to include ft.lib rather than 3270ft.o
  4. # to make Cornell-TCP and MacTCP merged version...
  5. #    use MERGEOBJS w/ MERGELIBS rather than OBJS w/ MACTCPLIBS
  6. #    define DUALTCP rather than MACTCP
  7.  
  8. CUOBJS=main.o telnet.o event.o menu.o  dialog.o  \
  9. 3270com.o 3270token.o tninit.o \
  10. hyperface.o token.o asciitoken.o \
  11. screen.o ft.o gethost.o nnr.o util.o MITCUStan.o config.o \
  12. scrinit.o emcursor.o  zap.o 
  13.  
  14. CULIBS=-ltftp -ltcp -lnet -ludp -lip -ltask -ltftp \
  15. -lem -lomni -latddp -lmyc -lm 
  16.  
  17. MERGEOBJS=main.o telnet.o event.o menu.o dialog.o \
  18. 3270com.o 3270token.o \
  19. mactcp.o net_utils.o tftp_srv.o tftp_util.o tninit.o  gethost.o \
  20. token.o asciitoken.o \
  21. ft.o \
  22. util.o MITCUStan.o  scrinit.o config.o \
  23. emcursor.o serial.o textedit.o nnr.o
  24.  
  25. MERGELIBS=-ltcp -ltftp -lnet -ludp -lip -ltask \
  26. -lem -lomni -latddp -lmyc -lm 
  27.  
  28. OBJS=main.o telnet.o event.o menu.o dialog.o \
  29. 3270com.o 3270token.o \
  30. mactcp.o net_utils.o tftp_srv.o tftp_util.o tninit.o  gethost.o \
  31. token.o asciitoken.o \
  32. ft.o \
  33. util.o CometCopy.o  scrinit.o config.o \
  34. emcursor.o serial.o textedit.o timer.o
  35.  
  36. EMOBJS=screen.o zap.o vt100.o h19.o asciidraw.o 
  37.  
  38. MACTCPLIBS=-lem -lmyc -lm 
  39.  
  40. #hyperface.o     not integrated, should it be?  was before token.o
  41. #timer.o          not used with merged MacTCP CUTCP version
  42. #nnr.o            not used with MacTCP version?
  43.  
  44. DEFS=-Z4000         \
  45.  -DMULTI  \
  46.  -DMACTCP             \
  47.  -DTFTPSERVE         \
  48.  -DUSETASK             \
  49.  -DOPENDRIVER         \
  50.  -DSERIALDTRUP         \
  51.  -DTCPSELECT         \
  52.  -DMERGEDVTCHARS     \
  53.  -DUSETEXTWINDOWS     \
  54.  -DSIZETEXTWINDOW      \
  55.  -DUSETEXTWINDFIND  \
  56.  -DDOQDPRINT        \
  57.  -DINVEQALT         \
  58.  -DSKIPBLANKS         \
  59.  -DFASTDRAW          \
  60.  -DMERGEDVTCHARS     \
  61.  -DVARVTSIZE        \
  62.                     
  63. # -DASYNCOPEN        \
  64. # -DASYNCCLOSE
  65.  
  66. # -DINVEQALT        h19 inverse font == bold font 
  67. # -DSKIPBLANKS        skip blanks when drawing 
  68. # -DFASTDRAW         draws direct to screen immediately rather than through emrefresh
  69. # -DTESTBOUND        test array boundaries in VT100
  70. # -DVTJUMPSCROLL    do jumpier scrolling for vt100; speeds things up
  71. #                    on faster machines, slower on 68000s due to QD draw
  72. # -DMERGEDVTCHARS     VT character set incorporated in chars >127
  73.  
  74.  
  75. # -DMULTI             multiple windows        
  76. # -DTFTPSERVE        link TFTP routines 
  77. # -DUSETEXTWINDOWS    compile with code to do .edit window scrolling buffer
  78. # -DSIZETEXTWINDOW    put a grow icon on the .edit window
  79. # -DUSETEXTWINDFIND    add Find item to Edit menu for .edit window
  80. # -DTCPSELECT        hide host IP address in namewindow() when irrelevant
  81. # -DWORONACURSOR    put PF number on cursor when in q3button...
  82. # -DUSEHELPWINDOW    compile with code to do a help window
  83. # -DMERGEDVTCHARS    VT special character set folded into standard sets...
  84. # -DVARVTSIZE        h19/VT emulator size can be reconfigured in config
  85.  
  86. # -DDOQDPRINT        offer QuickDraw in addition to the DOOMED streaming text routines 
  87. # -DSERIALDTRUP        configure serial driver to leave DTR up on close
  88.  
  89. # -DDOHYC            link hyperface interface
  90.  
  91. # all the following labels modify MacTCP related code 
  92. # -DDUALTCP            link both TCP stacks, i.e. mactcp & cornell(PC/IP, Stanford)
  93. # -DMACTCP             link with MacTCP, differing vars
  94. #                    if neither of these are selected cornell tcp is linked.
  95. # -DIPASYNC            open IP asynchronously
  96. # -DOPENDRIVER        use OpenDriver call rather than openPB
  97. # -DASYNCREAD        do async read        
  98. # -DASYNCOPEN        do async open        
  99. # -DASYNCCLOSE        do async close        
  100. # -DTCPBUFWRAP        use 2 entry WDS on buffer wrap
  101. # -DUSETABLE        use get_host() rather than namewindow()--no host table
  102. # -DUSETASK            call tk_yield in alfilter
  103. # -DTFTPDEBUG        compile tftp with printf's
  104.  
  105. STACK=16000
  106.  
  107. .c.o:
  108.         date
  109.     echo '---> '$*.c; c -L200 '+N' $(CFLAGS) $(DEFS) -o $@ $*.c
  110.         duplicate -y '$*.c' hd:'$*.c'
  111.  
  112. .asm.o:
  113.         date
  114.     echo '---> '$*.asm; as $(AFLAGS) -o $@ $*.asm
  115.     
  116. Comet2.1: Comet2.1.code Comet2.1.r
  117.         date
  118.     rgen Comet2.1.r
  119.     SetFile -a B Comet21
  120.         date
  121.     rm Comet21.code
  122.     duplicate -y Comet21 hd:Comet21
  123.     duplicate -y Comet21.dbg hd:Comet21.dbg
  124.     echo '===> Comet21 make complete'∂n        
  125.  
  126. Comet2.1.code:  $(OBJS) $(EMOBJS)
  127.         date
  128.     ln -g -T '+T' '+M' '+S' $(STACK) -o Comet21.code $(LIB)sacroot.o \
  129. $(LIB)crt0.o $(OBJS) $(EMOBJS) $(MACTCPLIBS)
  130.  
  131. # rm old objects with USETEXTWINDOW dependencies
  132.  
  133. vers:
  134.     rm event.o
  135.     rm menu.o
  136.     rm scrinit.o
  137.     rm token.o
  138.     rm textedit.o
  139.     
  140. # rm old objects with PCIP dependencies
  141.  
  142. PCIPvers:
  143.     rm dialog.o
  144.     rm gethost.o
  145.     rm mactcp.o
  146.     rm main.o
  147.     rm menu.o
  148.     rm screen.o
  149.     rm tftp_util.o
  150.     
  151.